<%-- 
    Document   : index
    Created on : 23.4.2012, 11:18:37
    Author     : xduda
--%>

<%@page import="java.text.DateFormat"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="author" content="HTML code: Matej Oravec, Petra Ivaskova" />
        <meta name="description" content="SRGS XML DB"/>
        <meta name="keywords" content="PB138 XML SRGS JSGF" />      
        <link rel="stylesheet" type="text/css" href="css/myStyle.css" />
        <link href='http://fonts.googleapis.com/css?family=Oswald:400,300&amp;subset=latin,latin-ext' rel='stylesheet' type='text/css'/>
        <title>SRGS XML DB</title>
    </head>
    
    <body>
        <div id="foreground">    
            <jsp:include page = "/header"/>   
            <div id="content">
            <jsp:include page = "/menu"/>
            

 

                    <% if (request.getAttribute("requestedContent") != null) { %>
                            <jsp:include page='<%=(String) request.getAttribute("requestedContent")%>' />
                    <% } 
                    else {%>
                            <jsp:include page="/main" />
                    <% } %>  


                
            </div>
            <jsp:include page = "/footer"/>
        </div>
        
    </body>
</html>
